﻿
 <SCRIPT LANGUAGE="JAVASCRIPT"> 
function chck()
{  var  count=0;
   for (var i=0;i<form.length;i++)
   if ((form[i].type == "radio") && (form[i].checked))
   count++; 
   if (count==0)
      { return false;  }
   else
      { return true;   }
}
 
function Add(SourceList,TargetList)
	{
	var nIndex = SourceList.selectedIndex;
 	var nCount = 0;  
	if (nIndex == -1)
	{
		// Process continue only if at least one item selected
		//alert("请先选择一项!");
		return;
	}
	for (i=0;i<SourceList.length;i++)
  {
     if (SourceList.options(i).selected==true)
     {    
         if (inSouceList(SourceList.options(i).value,TargetList)==false)
         {
          	var objSelected = new Option(SourceList[i].text, SourceList[i].value);
           	TargetList.options[TargetList.length] = objSelected;
         }
     }     
	}
  for (var i=0;i<TargetList.options.length;i++)
  {
    TargetList.options(i).selected=true;
  }
	if(navigator.appName=="Netscape")
	{
		history.go(0)
	}
 }
 function inSouceList(SourceListOption,TargetList)
 {
 	  for (i=0;i<TargetList.length;i++)
    {
	     if (TargetList.options[i].value==SourceListOption)
       {
        	 return true;
       }
    }   
    return false;
 }  
function Remove(SelectList)
	{
	var nIndex = SelectList.selectedIndex;
 	var nCount = 0;
	if (nIndex == -1)
	{
		// Process continue only if at least one item selected
		//alert("请先选择一项!");
		return;
	}
  while(nCount<SelectList.length)
  {
       if (SelectList.options(nCount).selected==true)
       {
       	 SelectList.options[nCount] = null;
       }
       else
       {
         nCount++;
       }
  }
	if(navigator.appName=="Netscape")
		{
		history.go(0)
		}	
	}
 function enter()
 {
   var srcEle = window.event.srcElement;
   var tmp;   
   tmp = window.showModalDialog("pub_pub.Dialog_Date?vc_input=" + srcEle.value);
     if ( tmp.indexOf("/") != -1)
     {
        srcEle.value = tmp;
     }
     return;
 }   
 function check_num()
 {
 	 if (window.event.keyCode > 57 || window.event.keyCode < 48)
	 {
	 		window.event.returnValue = false;
	 }
 }
 function check_blank()
 {
 	 if (window.event.keyCode < 48)
	 {
	 		window.event.returnValue = false;
	 }
 }
  
function check_num_dot()
{
 	 if (window.event.keyCode > 57 || window.event.keyCode < 46)
	 {
  		 window.event.returnValue = false;   
	 }
   else
   {
      if(window.event.keyCode==47)
      {
    		 window.event.returnValue = false;
      }
      if(window.event.keyCode==46)
      {
         if (window.event.srcElement.value.indexOf(".")!=-1)
         {
        		 window.event.returnValue = false;
         }
      }   
    }  
 }
  
 function submitonce(theform)
 {
 if (document.all || document.getElementById)
 {
 for (i=0;i<theform.length;i++)
 {
 var tempobj = theform.elements[i]
 if (tempobj.type.toLowerCase() =="button")
 tempobj.disabled = true
 }
 }
 }
 
  function CheckAll() 
 {
   var i = 0;
   for (i=0; i < window.document.forms[0].elements.length; i++) 
   {
     if(window.document.forms[0].elements[i].Chk<3) 
     {
       if(window.document.forms[0].elements[i].value=="")
       {
         alert(window.document.forms[0].elements[i].alt);
         window.document.forms[0].elements[i].focus();
         return;
       }
       else if (window.document.forms[0].elements[i].Chk==2)
       {
         if (NotNumber(window.document.forms[0].elements[i].value))
         {
            alert("提示信息：\n不是有效的数字，请重新输入。");
            window.document.forms[0].elements[i].focus();
            return;
         }
       }
     }
     else if(window.document.forms[0].elements[i].Chk==3)
     {
       if(window.document.forms[0].elements[i].value!="")
       {
         if (NotNumber(window.document.forms[0].elements[i].value))
         {
            alert("提示信息：\n不是有效的数字，请重新输入。");
            window.document.forms[0].elements[i].focus();
            return;
         }
       }
     }
   }
   window.document.forms[0].submit();
   return true;
 }
 function NotNumber(Field)
 {
   var j = 0;
   var k = 0;
   for (var i=0; i<Field.length; i++)
   {
      var ch=Field.substring(i,i+1);
      if((ch>="0")&&(ch<="9")) 
      {
        j=0;
      }
      else if(ch==".") 
      {
        k++;
      }
      else
      {
        j=1;
        break;
      }
   }
   if ((j==0)&&(k<2))
   {
      return false;
   }
   else
   {
      return true;
   }
 }
 function openwindown(page)
 {
    window.open(page,"newuser","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=700,height=400,left=100,top=150");
 }
</SCRIPT>
 

<html>
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">

<link rel="stylesheet" href="js/style.css">
</HEAD>
<title>询价书列表</title>
<BODY>
<form name=form >
<input type="hidden" name="p_opert" value="3">

<TABLE style="LINE-HEIGHT: 30px" cellSpacing=1 cellPadding=0     width="100%"  bgColor=#336699 borderColorLight=#006699 border=0>
<tr>
<td>
<table cellpadding="3" cellspacing="1" border="0" width="100%">
<tr bgcolor="#ffffff"> 
<td width="100%" colspan="20" bgcolor="#ffffff" align=center height=22><B><H2><font  color=#0070C0 >采购计划列表</b>
<a href="javascript:void(null)" onClick="window.open('../help/Help.asp?Value=询价未截止报价书列表','child','status=NO,scrollbars=yes,toolbar=no,menubar=no,location=no,left=200,top=100,width=700,height=400')" ><img alt="帮助" src="Img/help_a.gif" border="0"></a>
</td>
</tr>
<tr><td colspan="6" align="center">
 <table>
			<tr>
			 <td>
			 询价书名称:<input type="text"/>
			 </td>
			 <td>
			 状态:
			 <select>
			 <option>全部</option>
			<option>未发布</option>
			<option>未揭示</option>
			<option>已截止</option>
			<option>已揭示</option>
			 </select>
			 </td>
			 <td>
			 <input type="button" value="查询"/>
			 </td>
			</tr>
			</table>
</td></tr>

  <tr  class="t1" >   
    <td align=center>选择</td>
    <td align=center>序号</td>
    <td align=center>询价书标题</td>
    <td align=center>询价提交时间</td>
    <td align=center>询价截止时间</td>
    <td align=center>采购类型</td>
    </tr>
      
    <tr class="t2">
    <td align=center><input type="radio" name="Quoteno" value="47792010146998"></td>
    <td align=center>1</td>
    <td ><B><A Href="Enquire_xjsmx.html"><font color=blue>对20020055100109的报价</A></b></td>
    <td  align=center>2010/01/09 10:32:46<br></td>
    <td  align=center>2010/01/10 00:00<br></td>
    <td align=center>制造中心采购公开求购</td>
    </tr>
	<TR>
          <TD align=middle width="100%" bgColor=#ffffff colSpan=9 
            height=22><FORM #000064? 
            action="Apply_list.asp name=form><font color=" 
            method="Post">◆&nbsp;</FONT><FONT color=#000064>首页 
            上一页</FONT>&nbsp;<FONT color=#000064>下一页 尾页</FONT><FONT 
            color=#000064>&nbsp;共 1 个合同申请 10 个合同申请 /页</FONT><FONT 
            color=#000064>&nbsp;页次:<FONT color=blue>1</FONT>/1页</FONT><FONT 
            color=#000064>&nbsp;◆&nbsp;</FONT> </TD></TR>

</table></td></tr></table>

</center>
</form>
<P Align=center>
<INPUT onclick=" javascript:history.back()" type=button name="jbxxlist1"     value="返回">
</p>

</body>
</html>

<script language=javascript>
      function update_quote()
      { var count=0;
        for (var k = 0; k < form.length; k++)
        if ((form[k].type == "radio") && (form[k].checked))
           count++;
        if (count==0)
           {
            alert("提示信息：\n请选择报价书。");
            return;
           }
        else
           { form.action="aive2.html";
             form.submit(); 
           }
      }
  function delete_quote()
      {  var count=0;
        for (var k = 0; k < form.length; k++)
        if ((form[k].type == "radio") && (form[k].checked))
           count++;
        if (count==0)
           {
            alert("提示信息：\n请选择报价书。");
            return;
           }
        else
           {  
              if (confirm("您确定要删除选择的报价书？\n按确定删除该报价书，删除后您可以重新报价。按取消不执行删除操作。")==true)
                 { 
                 form.action="Quote_SV.ASP";
                 form.submit(); }
              else
                 { return; }
           }
      }
      
   </script>
